package com.quanyan.scheduler.web;


import com.quanyan.api.APIResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by chuntu on 2015/7/2.
 */
@RestController
@RequestMapping(value = "/scheduler/")
public class HeatBeatController {
    private static Logger log = LoggerFactory.getLogger(HeatBeatController.class);

    /**
     * 获取微信jsApi配置属性.
     *
     * @param
     * @return
     */
    @RequestMapping(value = "heart")
    @ResponseBody
    public APIResponse<?> heartBeat() {
        return APIResponse.returnSuccess("scheduler服务器正常");
    }


}
